package com.itheima.mapper;

import com.itheima.pojo.Orders;
import com.itheima.pojo.OrdersDish;
import com.itheima.pojo.Shopping;
import com.itheima.pojo.Site;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.ResultMap;
import org.springframework.data.redis.connection.ReactiveListCommands;

import java.util.List;

/**
 * @author 林晓伟
 */
@Mapper
public interface OrderNewMapper {

    @ResultMap("OrderNewMapper")
    Integer sel(Orders orders);


    @ResultMap("OrderNewMapper")
    void dele();

    @ResultMap("OrderNewMapper")
    List<Orders> b(@Param("page") Integer page,@Param("pageSize")  Integer pageSize);
    @ResultMap("OrderNewMapper")
    List<OrdersDish> hgj();

    @ResultMap("OrderNewMapper")
    List<OrdersDish> kkk(String id);

    @ResultMap("OrderNewMapper")
    List<Shopping> hj();

    @ResultMap("OrderNewMapper")
    Integer jjj(Integer number,String name,String s);



    @ResultMap("OrderNewMapper")
    Site sele();

    @ResultMap("OrderNewMapper")
    List<Integer> m();





}
